package com.etc.entity;

import org.springframework.stereotype.Component;

@Component
public class Engage {
    private User user;
    private RoomType roomType;
    private RoomInfo roomInfo;
    private String beginTime;
    private int keepTime;
    private String endTime;
    private String remark;
    private int status;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public RoomType getRoomType() {
        return roomType;
    }

    public void setRoomType(RoomType roomType) {
        this.roomType = roomType;
    }

    public RoomInfo getRoomInfo() {
        return roomInfo;
    }

    public void setRoomInfo(RoomInfo roomInfo) {
        this.roomInfo = roomInfo;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public int getKeepTime() {
        return keepTime;
    }

    public void setKeepTime(int keepTime) {
        this.keepTime = keepTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Engage() {
    }

    public Engage(User user, RoomType roomType, RoomInfo roomInfo, String beginTime, int keepTime, String endTime, String remark, int status) {
        this.user = user;
        this.roomType = roomType;
        this.roomInfo = roomInfo;
        this.beginTime = beginTime;
        this.keepTime = keepTime;
        this.endTime = endTime;
        this.remark = remark;
        this.status = status;
    }

    @Override
    public String toString() {
        return "engage{" +
                "user=" + user +
                ", roomType=" + roomType +
                ", roomInfo=" + roomInfo +
                ", beginTime='" + beginTime + '\'' +
                ", keepTime=" + keepTime +
                ", endTime='" + endTime + '\'' +
                ", remark='" + remark + '\'' +
                ", status=" + status +
                '}';
    }
}
